<template>
  <a-card :size="size" :bordered="bordered">
    <slot />
    <slot slot="title" name="title" />
  </a-card>
</template>

<script>
export default {
  name: 'DCard',
  props: {
    size: {
      type: String,
      default: 'default'
    },
    bordered: {
      type: Boolean,
      default: true
    }
  }
};
</script>

<style lang="scss" scoped></style>
